package com.yuexun.dhdoctor.module.personalPlan.adapter;

import android.widget.AbsListView;

import com.yuexun.dhdoctor.R;
import com.yuexun.dhdoctor.module.personalPlan.bean.MyShareBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by work-jx on 2016/9/13.
 */
public class MyShareAdapter extends KJAdapter<MyShareBean.DatasEntity> {

    public MyShareAdapter(AbsListView view, Collection<MyShareBean.DatasEntity> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, MyShareBean.DatasEntity datasEntity, boolean b) {
        adapterHolder.setText(R.id.tvName, datasEntity.getSharerName());
    }
}
